Inner Classes:
The Simplest Example
Define your classes exactly where you need them
The Runnable implementation adapts the client code to the thread
Client variables like thingToPrint are available within the body of the adapter
Local variables must be final if used by the adapter

Return to Tracks